﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL.Hibernate.Entities;

namespace BL.Abstract
{
    public interface IDBManager<T>
    {
        object Create(T obj);
        T Update(T obj);
        void Delete(T obj);
        IList<T> GetAll();
        IQueryable<T> Query();
        void Flush();
    }
}
